package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.Statement;
import cn.wolfcode.car.business.query.StatementQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;
import org.apache.poi.ss.usermodel.Workbook;

import java.util.List;

/**
 * 杨修记录接口
 */
public interface IStatementService {


    /**
     * 查单个
     * @param id
     * @return
     */
    Statement get(Long id);


    /**
     * 保存
     * @param Statement
     */
    void save(Statement Statement);

  
    /**
     * 更新
     * @param Statement
     */
    void update(Statement Statement);

    /**
     *  批量删除
     * @param ids
     */
    void deleteBatch(String ids);
    List<Statement> list();
    TablePageInfo<Statement>query(StatementQuery qo);

    void updateStatement(Statement statement);

    void pay(Long statementId);

    Statement getByAppointmentId(Long appointmentId);

    Workbook export(Long statementId);


}
